.sport-page {
    padding: 12px 12px 140px;
}

.sport-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sport-header .title {
    font-size: 16px;
    font-weight: 600;
}

.sport-header .actions .icon-btn {
    border: none;
    background: #fff;
    font-size: 18px;
    margin-left: 8px;
}


/* 已移除模式选择按钮相关样式 */

.map-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}


/* 天气适宜度 */

.weather-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f3f5;
}

.weather-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.weather-dot.good {
    background: #10b981;
}

.weather-dot.warn {
    background: #f59e0b;
}

.weather-dot.bad {
    background: #ef4444;
}

.weather-text {
    flex: 1;
    font-size: 12px;
}

.weather-text .w-city {
    font-weight: 700;
    color: #111827;
    margin-right: 2px;
}

.weather-text .w-strong {
    font-weight: 700;
    margin-right: 2px;
}

.weather-text .w-weak {
    color: #6b7280;
}

.weather-refresh {
    border: none;
    background: transparent;
    font-size: 14px;
}

.map-view {
    position: relative;
    background: #eef5ea;
    aspect-ratio: 1 / 1;
    max-height: 420px;
}

.map-path {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: 48px;
    border-radius: 8px;
    border: 2px dashed #22c55e;
}

.map-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    border: none;
}


/* 已移除 路线 按钮样式 */

.map-locate {
    position: absolute;
    right: 12px;
    bottom: 12px;
    height: 28px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 6px;
}

.map-center2 {
    position: absolute;
    right: 12px;
    bottom: 48px;
    height: 28px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 6px;
}


/* 已移除 tabs 相关样式 */

.go-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 24px;
}

.go-spacer {
    width: 0;
}

.go-button {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    border: none;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.go-icon {
    font-size: 18px;
    line-height: 1;
}

.go-text {
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
    letter-spacing: 0;
}


/* bottom-row removed */


/* 已移除 教练语音 卡片样式 */

.mini-title {
    font-size: 11px;
    color: #6b7280;
}

.mini-sub {
    font-size: 14px;
    font-weight: 700;
}


/* 跑步统计信息样式 */

.running-stats {
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 8px 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 20px;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}


/* GO按钮状态样式 */

.go-button.running {
    background: #ef4444;
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.35);
}

.go-button.paused {
    background: #f59e0b;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.35);
}


/* 结束后底部弹层 */

.summary-mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 50;
}

.summary-sheet {
    width: 100%;
    background: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 16px 12px 20px;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
}


/* 每周概览卡片与快捷功能 */

.week-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.week-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.week-item {
    text-align: center;
}

.week-label {
    font-size: 11px;
    color: #6b7280;
}

.week-value {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.week-value .unit {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    margin-left: 2px;
}

.week-sub {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.quick-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.qa-btn {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qa-emoji {
    font-size: 18px;
    line-height: 1;
}

.qa-text {
    font-size: 12px;
    margin-top: 6px;
    color: #374151;
    font-weight: 700;
}

.summary-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 8px;
}

.summary-close {
    display: block;
    width: 92%;
    margin: 12px auto 4px;
    height: 40px;
    border-radius: 8px;
    background: #10b981;
    color: #fff;
    border: none;
    font-weight: 700;
}


/* 右侧历史记录抽屉 */

.side-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: flex-end;
    z-index: 9999;
}

.side-panel {
    width: min(86vw, 360px);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.side-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f1f3f5;
}

.side-title {
    font-weight: 700;
}

.side-close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
}

.side-content {
    padding: 12px;
    overflow: auto;
}

.empty {
    color: #9ca3af;
    text-align: center;
    padding: 40px 0;
}

.history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.history-item {
    padding: 10px 12px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #fff;
}

.history-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.history-km {
    font-size: 18px;
    font-weight: 800;
    color: #10b981;
}

.history-time {
    font-weight: 700;
    color: #374151;
}

.history-sub {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    font-size: 12px;
}